body{
    margin: 0;
    padding: 0;
    /* background-color: aliceblue; */
}

a{
    text-decoration: none;
}

ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    /* overflow: auto; */
    word-wrap: break-word;
}

tr th{
    text-align: center;
}



/* 顶部导航栏 */
.topbar{
    height: 70px;
    border-bottom: 1px solid #b2b2b2;
    /* border: 1px solid black; */
    background: #ffffff;
    font-size: 30px;
    color: #2e2e3e;
}
/* 
.topbar a{
    color: aliceblue;
    font-size: 20px;
}

.topbar a:hover{
    color: #666;
} */

.container{
    width: 97%;
    margin: 0 auto;
    height: 70px;
    line-height: 70px;
}

.topbar-set{
    float: left;
}

.topbar-out{
    float: right;
}


/* 主卡片 */
.maincard{
    background-color: #f2f2f2;
    border-top: #b2b2b2;
    /* box-shadow:inset 10px 8px 8px #9d9d9e; */
    width: 100%;
    font-size: 24px;
    height: 680px; /*主卡片的高度，之后在调节合适的高度*/
}

.maincard::before{
    content: "";
    display: table;
}

.maincard::after{
    content: "";
    display: table;
    clear: both;
}

/* 功能 */
.function{
    float: left;

    width: 15%;
    /* width: 226px; */
    height: 100%;

    color: #9ea1a0;
    text-align: center;
    background-color: #424242;
}

.con-user{
    margin: 20px 16px 10px 16px;
}

/* 头像 */
.headshot{
    border-radius: 100%;
    box-shadow: 0 0 5px rgb(255, 255, 255);
    border: 1px solid rgb(222, 222, 222);
    height: 80px;
    width: 80px;
}

/* 昵称 */
.username{
    color: white;
    margin:10px;
    height: 80px;
}
.user-name{
    font-size: 22px;
    justify-content: center;
    margin: 20px 0 0 0;
}
.user-addr{
    justify-content:center;
    margin: auto;
    color: #9ea1a0;
    font-size: 18px;
    display: flex;
}

.func-person, .func-msg{
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s;
    border-bottom: 1px solid rgb(171, 171, 171);
}

.func-person:hover{
    color: #ffffff;
    transition: all 0.3s;
}
.func-products{
    cursor: pointer;
    margin: 10px 0 0 0;
    padding: 10px;
    border-top: 1px solid rgb(171, 171, 171);
    border-bottom: 1px solid rgb(171, 171, 171);
    transition: all 0.3s;
}

.func-products:hover{
    color: #ffffff;
    transition: all 0.3s;
}


.func-orders{
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s;
    border-bottom: 1px solid rgb(171, 171, 171);
}

.func-orders:hover{
    color: #ffffff;
    transition: all 0.3s;
}


.func-tab{
    font-size: 22px;
    transition: 0.2s ease-out;
}

.active{
    color: #ffffff;
    box-shadow:inset 0 0px 15px rgb(0, 0, 0);
    /* border-radius: 8px; */
}

/* 商家 商品 订单 */
.concrete{
    float: left;
    width: 85%;
}


/* 横线 */
.con-line{
    background-color: rgb(170, 170, 170);
    height: 1px;
    width: 979px;
    margin: 10px auto;
}

/* 左侧功能栏 */
/* .con-tab-content{
    margin: 10px 16px;
} */

/* 商品块 + 订单块 */
.con-products, .con-orders{
    font-size: 18px;
    display: flex;
}
/* 
.pro-tab{
    width: 100%;
    background-color: #dddddd;
    border-bottom: 1px solid #b2b2b2;
    box-shadow: 2px 3px 5px #b8b8b8;
    height: 50px;
    
    display: flex;
}

.pro-in, .pro-up{
    margin: 10px 0 10px 20px;
} */

.lcard{
    width: 66%;
    /* height: 100%; */
    height: 678px;
    /* background-color: #ff6161; */
}

.rcard{
    width: 34%;
    height: 678px;
    /* background-color: #272742; */
}

.in-card, .up-card{
    background-color: #ffffff;
    height: 94%;
    margin: 20px;
    padding: 10px 15px;
    vertical-align: middle;

    border-radius: 15px;
    box-shadow: 0 0 10px #dedede;
}
.card-head{
    font-size: 23px;
    height: 50px;
    /* margin: 10px; */
    padding: 0 5px;
    width: 100%;
    /* border: 1px solid rgb(176, 176, 176); */
    border-bottom: 1px solid rgb(176, 176, 176);
}

/* 上架按钮 */
.btn-up{
    width: 100px;
    height: 36px;
    position: relative;
    border: 0;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 500;

    background: #0e92d2;
    color: #fff;
    
    outline: none;
    transition: all 1s;
}
.btn-up:hover{
    transition: all 0.3s;
    box-shadow: 0px 0px 10px rgb(171, 171, 171);
}


/* 商品列表 + 订单列表 */
.product-list{
    margin: 10px 0;
    font-size: 16px;
    /* width: 100%; */
    /* border: 1px solid black; */
    /* display: none; */
}
#modal-dely{
    display:none;
}
/* 商品表表头 */
.pro-list-name{
    display: flex;
    text-align: center;
    height: 28px; 
    line-height: 28px;
    /* border-top:  2px solid rgb(160, 160, 160); */
    border-bottom: 2px solid rgb(160, 160, 160);
    /* background-color: #e6f7f7; */
    /* box-shadow: 0px 5px 6px rgb(218, 218, 218); */
}
/* 商品序号 */
.pro-lino{
    width: 10%;
    margin: auto 0;
}
/* 商品图片名 */
.pro-lipic{
    width: 16%;
    height: 80px;
    margin: auto 0;
}
/* 商品名称 */
.pro-liname{
    overflow: hidden;
    width: 20%;
    margin: auto 0;
    max-height: 90px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* text-overflow: ellipsis;
    white-space: nowrap; */
    /* height: 90px; */
}
/* 商品数量 */
.pro-linum{
    width: 14%;
    margin: auto 0;
}
/* 商品价格 */
.pro-limoney{
    width: 16%;
    margin: auto 0;
}
/* 具体商品的表 */
.pro-list{
    width: 782px;
    display: flex;
    text-align: center;
    height: 90px;
    /* line-height: 130px; */
    border-bottom: 1px solid rgb(219, 219, 219);
}

tbody tr{
    transition: all 0.3s;
}
tbody tr:hover{
    background-color: hsl(0, 0%, 92%);
    transition: all 0.3s;
}


/* 具体商品图片 */
.con-pic{
    width: 80px;
    max-height: 80px;
    vertical-align: middle;
    position: relative;
	left: 33%;
	top: 50%;
	transform: translate(-50%,-50%);
}
/* 租借日期 */
.lidate{
    width: 200px;
    margin: auto 0;
}
/* 查看信息按钮 + 下架按钮 */
.pro-libtn{
    width: 24%;
    margin: auto;
    display: flex;
}
.btn-look, .btn-down, .btn-view, .btn-del, .btn-sub{
    font-size: 17px;
    font-weight: 500;

    width: 86px;
    height: 36px;
    
    border: 0;
    border-radius: 3px;

    background: #0e92d2;
    color: #fff;
    
    outline: none;
    transition: all 0.3s;

    margin: 2px;
}


.image-show{
    display: flex;
    width: 98%;
    margin: auto;
}


.modal{
    background: black;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    z-index: 10;
}
